Tree.this

Create a shallow copy of the syntax tree. This is very fast.

You need to copy a syntax tree in order to use it on more than one thread at a time, as syntax trees are not thread safe.

  1. this(TSTree* tstree)
  2. this(Tree otherTree)
    struct Tree
    @nogc nothrow
    this
    (
    ref return scope Tree otherTree
    )
  3. this(Tree otherTree)

Meta